05. Video: K-Means

KMeans

K-Means

In the K-means algorithm 'k' represents the number of clusters you have in your dataset. In this video, you saw that a k value of two makes a lot of sense. There is one cluster of points with shorter distances for when I travel to work. A second cluster is created when I travel to my parents' house.

Visually inspecting your data easily shows these two clusters. On the next page, you will have an opportunity to make sure you have this technique for finding clusters mastered.